how to store in dictionaries